package ModelLayer;

public abstract class Product 
{
	private int productId;
	private String name;
	private String purchaseDate;
	private double salesPrice;
	private String countryOforigin;
	private int minStock;
	private int totalInStock;
	private String type;
	private String stockPlace;
	private int supplierId;


	public Product(int productId, String name, String purchaseDate, double salesPrice, String countryOforigin,int minStock,String type, String stockPlace, int supplierId,int totalInStock)
	{
		this.productId = productId;
		this.name=name;
		this.purchaseDate=purchaseDate;
		this.salesPrice=salesPrice;
		this.countryOforigin=countryOforigin;
		this.minStock=minStock;
		this.totalInStock=totalInStock;
		this.type=type;
		this.stockPlace=stockPlace;
		this.supplierId=supplierId;
		
	}

	public void setSupplierId(int supplierId){
		this.supplierId = supplierId;    
		}

		public abstract long getProductId();

		public abstract long getSupplierId();

		public abstract String getProductType();

		public abstract double getPurchasePrice();

		public abstract double getSalesPrice();

		public abstract double getRentPrice();

		public  abstract String getCountryOfOrigin();

		public abstract int getMinStock();

		public abstract long getStockAmount();


}


